import layout from "@/layout";

export default {
    path: "/article",
    component: layout,
    redirect: "/article/ranking",
    name: "articleRanking",
    meta: { title: "article", icon: "article" },
    children: [
        {
            path: "/article/ranking",
            component: () => import("@/views/article-ranking/index"),
            meta: {
                title: "articleRanking",
                icon: "article-ranking"
            }
        },
        {
            path: "/article/:id",
            component: () => import("@/views/article-detail/index"),
            meta: {
                title: "articleDetail"
            }
        }
    ]
};